<?php
	class Ms{
		var $id;
		var $descr;
		var $ref;
		var $un;
		var $ncm;
		var $marca;
		var $qtde;
		var $forn;
		var $classe;
		var $precoVenda;
		var $precoPlus;
		var $precoVr;
		var $precoCusto;
		var $percSt;
		var $percIpi;	
		var $local;	
		var $obs;	
		
		function __construct($id,$descr,$ref,$un='',$ncm='',$marca='',$qtde='',$forn='',$classe='',$precoVenda='',$precoPlus='',$precoVr='',$precoCusto='',$percSt='',$percIpi='',$local='',$obs=''){
			$this->id = $id;
			$this->descr = $descr;
			$this->ref = $ref;
			$this->un = $un;
			$this->ncm = $ncm;
			$this->marca = $marca;
			$this->qtde = $qtde;
			$this->forn = $forn;
			$this->classe = $classe;
			$this->precoVenda = $precoVenda;
			$this->precoPlus = $precoPlus;
			$this->precoVr = $precoVr;
			$this->precoCusto = $precoCusto;
			$this->percSt = $percSt;
			$this->percIpi = $percIpi;			
			$this->local = $local;			
			$this->obs = $obs;			
		}
				
		function getId(){
			return $this->id;
		}
		
		function getDescr(){
			return  $this->descr;
		}
		
		function getRef(){
			return $this->ref;
		}
		
		function getUn(){
			return $this->un;
		}
		
		function getNcm(){
			return $this->ncm;
		}
		
		function getMarca(){
			return $this->marca;
		}
		
		function getQtde(){
			return $this->qtde;
		}
		
		function getForn(){
			return $this->forn;
		}

		function getClasse(){
			return $this->classe;
		}
		
		function getPrecoVenda(){
			return $this->precoVenda;
		}
		
		function getPrecoPlus(){
			return $this->precoPlus;
		}
		
		function getPrecoVr(){
			return $this->precoVr;
		}
		
		function getPrecoCusto(){
			return $this->precoCusto;
		}
		
		function getPercSt(){
			return $this->percSt;
		}
		
		function getPercIpi(){
			return $this->percIpi;
		}
		
		function getLocal(){
			return $this->local;
		}

		function getObs(){
			return $this->obs;
		}

		function setId($id){
			$this->id = $id;
		}
		
		function setDescr($descr){
			$this->descr = $descr;
		}
		
		function setRef($ref){
			$this->ref = $ref;
		}
		
		function setUn($un){
			$this->un = $un;
		}
		
		function setNcm($ncm){
			$this->ncm = $ncm;
		}
		
		function setMarca($marca){
			$this->marca = $marca;
		}
		
		function setQtde($qtde){
			$this->qtde = $qtde;
		}
		
		function setForn($forn){
			$this->forn = $forn;
		}

		function setClasse($classe){
			$this->classe = $classe;
		}
		
		function setPrecoVenda($pv){
			$this->precoVenda = $pv;
		}
		
		function setPrecoPlus($pp){
			$this->precoPlus = $pp;
		}
		
		function setPrecoVr($pv){
			$this->precoVr = $pv;
		}
		
		function setPrecoCusto($pc){
			$this->precoCusto = $pc;
		}
		
		function setPercSt($ps){
			$this->percSt = $ps;
		}
		
		function setPercIpi($pi){
			$this->percIpi = $pi;
		}
		
		function setLocal($local){
			$this->local = $local;
		}

		function setObs($obs){
			$this->obs = $obs;
		}		
	}
?>